/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.fleet.entity.DriverArchives;
import com.jeeplus.modules.fleet.mapper.DriverArchivesMapper;

/**
 * 司机档案Service
 * @author 李超辉
 * @version 2019-03-11
 */
@Service
@Transactional(readOnly = true)
public class DriverArchivesService extends CrudService<DriverArchivesMapper, DriverArchives> {

	public DriverArchives get(String id) {
		return super.get(id);
	}
	
	public List<DriverArchives> findList(DriverArchives driverArchives) {
		return super.findList(driverArchives);
	}
	
	public Page<DriverArchives> findPage(Page<DriverArchives> page, DriverArchives driverArchives) {
		return super.findPage(page, driverArchives);
	}
	
	@Transactional(readOnly = false)
	public void save(DriverArchives driverArchives) {
		super.save(driverArchives);
	}
	
	@Transactional(readOnly = false)
	public void delete(DriverArchives driverArchives) {
		super.delete(driverArchives);
	}
	
}